package cn.dakaqi.pingan.services;

import cn.dakaqi.entities.PinganOpen;
import cn.dakaqi.utils.exception.ServiceRuntimeException;

/**
 * @author chunyang on 2016/4/19.
 */
public interface PinganOpenService
{
    PinganOpen save(PinganOpen pinganOpenRecord)throws ServiceRuntimeException;
    PinganOpen findByMobileAndIdCard(String mobile,String idCard)throws ServiceRuntimeException;
    PinganOpen findByIdCard(String idCard);
    PinganOpen findByCardNum(String cardNum)throws ServiceRuntimeException;
    PinganOpen findByVolunteerCode(String volunteerCode);
    PinganOpen findByCardNumAndStatus(String cardNum, int statusNo);
    PinganOpen findByVolunteerCodeAndStatus(String volunteerCode, int statusYes);
}
